package com.zsrt.java.day20161223.wrl.t03;

public class Test {
	public static void main(String[] args) {
		int num = 0; 	//加数
		int sum = 0;	//当前之和
		while(num <= 100){
			sum = sum + num;
			num = num + 2;
		}
		System.out.println("100之内的偶数之和是："+sum);
	}

}
